import os
import time
from typing import TypedDict

from langchain_community.agent_toolkits import GmailToolkit
from langchain_community.tools.gmail.search import GmailSearch

class EmailState(TypedDict):
    checked_emails_ids:list[str]
    emails:list[dict]
    action_required_emails:dict
class Nodes():
    def __init__(self):
        self.gmail = GmailToolkit()

    def chck_email(self,state):
        pass
